/* Контейнер меню слева и справа */
div#body_left,
div#body_right {
	vertical-align: top;
}

div#body_left ul {
	list-style: none;
	padding: 5px 0px 0px 15px;
}

div#body_right ul {
	list-style: none;
	padding: 5px 15px 0px 0px;
}

div#body_left a,
div#body_left p {
	color: #FFFFFF;
	font-family: Arial;
	font-size: 16px;
}

div#body_left div ul li form input {
	border: none;
	background: none;
	cursor: pointer;
	text-decoration: underline;
	color: #FFFFFF;
	font-family: Arial;
	font-size: 16px;
	margin: 8px 0px;
	padding: 0px;
}

div#body_right a,
div#body_right p {
	color: #FFFFFF;
	font-family: Arial;
	font-size: 16px;
	text-align: right;
}

/* Контейнер данных */
div#ui_common_container {
	display: table;
	width: 100%;
	padding: 20px 30px;
	font-size: 18px;
}

div#body_content div {
	padding: 10px 20px;
}

div#body_content div table {
	width: 100%;
	border-spacing: 4px;
}

div#body_content div table a {
	color: #606060;
}

div#body_content div table tbody tr th {
	width: 100%;
	font-family: Arial;
	background: #C0C0C0;
	padding: 3px 0px;
	text-align: center;
	font-weight: bold;
}

div#body_content div table tbody tr th + th {
	min-width: 70px;
}

div#body_content div table tbody tr th + th + th {
	min-width: 170px;
}

div#body_content div table tbody tr th + th + th + th {
	min-width: 200px;
}

div#body_content div table tbody tr td {
	padding: 0px 5px;
}

/* Форма создания нового конкурса */
div#body_content p {
	padding: 0px 15px;
}

div#body_content p.writer {
	font-family: Arial;
	font-size: 18px;
	font-style: italic;
}

div#new_contest_container form ul {
	list-style: none;
	margin: 0px;
	padding: 0px;
}

div#new_contest_container form ul li {
	display: table;
	width: 100%;
	border-spacing: 0px;
	position: relative;
}

div#new_contest_container form ul li#first_li,
div#new_contest_container form ul li#first_li + li {
	display: none;
}

div#new_contest_container form > ul.errorlist {
	text-align: center;
	background: #FF0000;
	color: #FFFFFF;
	padding: 3px 0px;
}

div#new_contest_container form ul li label {
	float: left;
	width: 270px;
	text-align: right;
	padding: 5px 15px 0px 0px;
	font-size: 16px;
}

div#new_contest_container form ul li input {
	width: 300px;
	margin: 5px 0px;
}

div#new_contest_container form ul li select {
	display: table-cell;
	margin: 5px 0px;
}

div#new_contest_container form ul li input#id_start_time,
div#new_contest_container form ul li input#id_time_limit {
	width: 100px;
}

div#new_contest_container form ul li input#id_competitors_limit,
div#new_contest_container form ul li input#id_cash {
	width: 70px;
}

div#new_contest_container form ul li label[for="id_theme"] {
	width: inherit;
	text-align: left;
	padding: 0px;
}

div#new_contest_container form ul li label[for="id_for_exclusive"] {
	width: 380px;
}

div#new_contest_container form ul li label[for="id_for_exclusive"]:before,
div#new_contest_container p#exclusive_message:before {
	content: "? ";
	color: blue;
	font-weight: bold;
	vertical-align: super;
	font-size: 10px;
}

div#new_contest_container p#exclusive_message {
	font-size: 14px;
	font-style: italic;
	margin: 25px 0px 10px 20px;
}

div#new_contest_container form ul li input#id_for_exclusive {
	width: auto;
}

div#new_contest_container form ul li textarea#id_theme {
	width: 100%;
	resize: none;
	margin: 0px 6px 8px 0px;
}

div#new_contest_container form ul li div#submit_container {
	left: 50%;
	float: left;
	position: relative;
	padding: 10px 0px;
}

div#new_contest_container form ul li div#submit_container input {
	right: 50%;
	position: relative;
	width: inherit;
}

div#new_contest_container form.personal_form ul li + li + li + li,
div#new_contest_container form.personal_form ul li + li + li + li + li {
	display: none;
}

div#new_contest_container form.personal_form ul li + li + li + li + li + li {
	display: table;
}

.ps:before {
	content: "P.S. ";
	color: #606060;
}

.ps {
	font-style: italic;
}

.ps_datetime {
	font-style: normal;
	font-family: Arial;
	font-weight: bold;
}

/* Оформление обязательных полей */
div#new_contest_container p#star_message {
	font-size: 14px;
	font-style: italic;
	margin: 0px 0px 15px 20px;
}

[for="id_title"]:before, [for="id_theme"]:before,
[for="id_cash"]:before, [id="star_message"]:before,
[for="id_time_limit"]:before {
	content: "* ";
	color: #FF0000;
}

/* Форма просмотра конкурса */
div#contest_view_container p.name {
	font-size: 18px;
	background: #C0C0C0;
	margin: 15px 0px;
	padding: 5px 15px;
}

div#contest_view_container span.name_objective {
	font-weight: bold;
}

div#contest_view_container p.prize {
	font-size: 24px;
	text-align: center;
	color: #FF6A00;
	text-shadow: #404040 1px 1px 1px;
}

div#contest_view_container span.prize_objective {
	font-weight: bold;
}

div#contest_view_container div#job_block {
	background: #E5E5E5;
}

div#contest_view_container div#job_block p {
	padding: 0px;
	font-size: 18px;
	font-style: italic;
	margin: 15px 0px;
}

div#contest_view_container div#job_block p:first-child {
	margin: 0px;
	font-family: Arial;
}

div#contest_view_container div#job_block p.genre {
	font-size: 16px;
	text-align: right;
	text-decoration: underline;
}

div#contest_view_container div#job_block span.genre_objective {
	font-weight: bold;
}

div#contest_view_container div#job_block p.for_exclusive {
	font-style: normal;
	text-align: center;
	font-family: Arial;
	font-weight: bold;
	color: red;
	margin: 20px 0px 5px 0px;
	font-size: 16px;
}

div#contest_view_container div#work_block > p:first-child {
	font-family: Arial;
	padding: 0px;
	font-size: 18px;
	font-style: italic;
	margin: 15px 0px;
	font-weight: bold;
}

div#contest_view_container div#work_block ul {
	margin: 0px;
	padding: 0px;
}

div#contest_view_container div#work_block ul li {
	list-style: none;
	margin: 8px 0px;
}

div#contest_view_container div#work_block ul li input {
	float: left;
	margin: 5px 0px 0px 0px;
}

div#contest_view_container div#work_block ul li p {
	margin: 0px 10px;
	font-size: 18px;
}

div#contest_view_container div#work_block ul li p a {
	color: #606060;
}

div#contest_view_container div#work_block ul li span.author_objective {
	font-size: 14px;
	font-style: italic;
}

div#contest_view_container p.close {
	text-align: center;
	font-size: 21px;
	color: #57007F;
	font-family: Arial;
	padding: 0px;
}

div#contest_view_container form div.submit_container {
	float: right;
	right: 50%;
	position: relative;
	padding: 0px;
	margin: 0px 0px 25px 0px;
}

div#contest_view_container form div.submit_container > input {
	float: left;
	left: 50%;
	position: relative
}

div#contest_view_container div#complete_block {
	border: 1px solid #C0C0C0;
	border-radius: 10px;
	margin: 0px;
	padding: 5px 20px;
}

div#contest_view_container div#complete_block p {
	margin: 7px 0px;
	padding: 0px;
	text-align: center;
	font-family: Arial;
	font-size: 14px;
	font-style: italic;
}

div#contest_view_container div#complete_block p a {
	color: #606060;
}

div#contest_view_container p.start,
div#contest_view_container p.finish {
	font-family: Arial;
	font-size: 18px;
	color: #00137F;
	margin: 15px 0px;
	padding: 0px 30px;
}

div#contest_view_container span.start_objective,
div#contest_view_container span.finish_objective {
	font-weight: bold;
}

div#contest_view_container div#join_block {
	margin: 0px;
	padding: 10px 0px;
}

div#contest_view_container div#join_block div.commission_block {
	margin: 0px;
	padding: 0px;
	text-align: center;
}

div#contest_view_container div#join_block div.commission_block p {
	display: inline;
	padding: 0px;
	font-size: 14px;
	font-family: Arial;
	color: black;
	margin: 0px 30px 0px 0px;
}

div#contest_view_container div#join_block div.commission_block input[type="radio"] {
	margin: 0px;
	vertical-align: middle;
}

div#contest_view_container div#join_block p {
	font-size: 16px;
	color: #7F0000;
	margin: 10px 0px;
}

div#contest_view_container div#join_block p.alert {
	text-align: center;
	color: red;
	font-size: 18px;
}
